﻿@model List<OPLWeb.Models.NewsUpdate>
<div class="module news" id="news-gadget">
    <div class="module-header">
        <h3>
            News
        </h3>
    </div>
    <div class="module-body">
        <ul class="content-list">
            @foreach (var item in Model)
            {
                if (item.IsNews)
                {
                <li><a href="/News/Details/@item.ID"><span class="cl-main">
                    <img alt="Article" src="/content/images/content-list-icon-article.png">
                    <span class="span-h5">@(item.Headline.Length > 60 ? item.Headline.Substring(0, 60) + "..." : item.Headline)</span>
                    <span>@item.DateTime</span> </span></a></li>
                }
            }
        </ul>
    </div>
    <div class="module-footer">
        <a href="/News/index/@ViewBag.CurrentSeason">Read More</a>
    </div>
</div>
